package com.example.administrator.base.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by lenovo on 2017/6/29.
 */
public class BicycleInfo implements Serializable {

    /**
     * status : 0
     * message : 成功
     * size : 6
     * total : 6
     * entities : [{"entity_name":"500000138","create_time":"2017-06-05 00:35:41","modify_time":"2017-06-27 11:26:53","latest_location":{"loc_time":1498533767,"longitude":121.3796,"latitude":31.19656,"distance":4.243578},"cityNo":"0","entity_desc":"共享单车","status":"0"},{"entity_name":"500002360","create_time":"2017-06-09 18:13:46","modify_time":"2017-06-29 14:51:55","latest_location":{"loc_time":1498719115,"longitude":121.37847573115,"latitude":31.19707603605,"bicycleLockVoltage":3752,"chargeVoltage":"0","direction":331,"electricQuantityValue":"93","height":15,"lockStatus":"锁关_定时上传_运营_正在充电_正常","signalIntensity":"31","speed":0,"distance":125.588361},"cityNo":"0","entity_desc":"共享单车","status":"0"},{"entity_name":"500005268","create_time":"2017-06-10 15:16:55","modify_time":"2017-06-28 17:22:33","latest_location":{"loc_time":1498641756,"longitude":121.37962,"latitude":31.196804,"direction":0,"height":0,"radius":0,"speed":0,"distance":29.404029},"cityNo":"0","entity_desc":"共享单车","status":"0"},{"entity_name":"500005409","create_time":"2017-06-10 15:17:09","modify_time":"2017-06-29 14:53:04","latest_location":{"loc_time":1498719184,"longitude":121.37956812515,"latitude":31.196594276676,"bicycleLockVoltage":4218,"chargeVoltage":"0","direction":137,"electricQuantityValue":"100","height":10,"lockStatus":"锁关_定时上传_运营_放电_正常","signalIntensity":"29","speed":0,"distance":8.977156},"cityNo":"14","entity_desc":"共享单车","status":"0"},{"entity_name":"500010111","create_time":"2017-06-10 14:26:26","modify_time":"2017-06-29 14:46:39","latest_location":{"loc_time":1498718799,"longitude":121.37965339583,"latitude":31.196531562419,"bicycleLockVoltage":4207,"chargeVoltage":"0","direction":315,"electricQuantityValue":"100","height":11,"lockStatus":"锁关_定时上传_运营_放电_正常","signalIntensity":"26","speed":0,"distance":1.73908},"cityNo":"0","entity_desc":"共享单车","status":"0"},{"entity_name":"500050493","create_time":"2017-06-24 20:02:15","modify_time":"2017-06-29 14:52:01","latest_location":{"loc_time":1498719121,"longitude":121.37950879205,"latitude":31.196492391616,"bicycleLockVoltage":4202,"chargeVoltage":"0","direction":137,"electricQuantityValue":"100","height":21,"lockStatus":"锁开_定时上传_运营_放电_正常","signalIntensity":"22","speed":0,"distance":13.380778},"cityNo":"13","status":"0"}]
     */

    private int status;
    private String message;
    private int size;
    private int total;
    private List<EntitiesBean> entities;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<EntitiesBean> getEntities() {
        return entities;
    }

    public void setEntities(List<EntitiesBean> entities) {
        this.entities = entities;
    }

    public static class EntitiesBean implements Serializable {
        /**
         * entity_name : 500000138
         * create_time : 2017-06-05 00:35:41
         * modify_time : 2017-06-27 11:26:53
         * latest_location : {"loc_time":1498533767,"longitude":121.3796,"latitude":31.19656,"distance":4.243578}
         * cityNo : 0
         * entity_desc : 共享单车
         * status : 0
         */

        private String entity_name;
        private String create_time;
        private String modify_time;
        private LatestLocationBean latest_location;
        private String cityNo;
        private String entity_desc;
        private String status;

        public String getEntity_name() {
            return entity_name;
        }

        public void setEntity_name(String entity_name) {
            this.entity_name = entity_name;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getModify_time() {
            return modify_time;
        }

        public void setModify_time(String modify_time) {
            this.modify_time = modify_time;
        }

        public LatestLocationBean getLatest_location() {
            return latest_location;
        }

        public void setLatest_location(LatestLocationBean latest_location) {
            this.latest_location = latest_location;
        }

        public String getCityNo() {
            return cityNo;
        }

        public void setCityNo(String cityNo) {
            this.cityNo = cityNo;
        }

        public String getEntity_desc() {
            return entity_desc;
        }

        public void setEntity_desc(String entity_desc) {
            this.entity_desc = entity_desc;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public static class LatestLocationBean implements Serializable{
            /**
             * loc_time : 1498533767
             * longitude : 121.3796
             * latitude : 31.19656
             * distance : 4.243578
             */

            private int loc_time;
            private double longitude;
            private double latitude;
            private double distance;

            public int getLoc_time() {
                return loc_time;
            }

            public void setLoc_time(int loc_time) {
                this.loc_time = loc_time;
            }

            public double getLongitude() {
                return longitude;
            }

            public void setLongitude(double longitude) {
                this.longitude = longitude;
            }

            public double getLatitude() {
                return latitude;
            }

            public void setLatitude(double latitude) {
                this.latitude = latitude;
            }

            public double getDistance() {
                return distance;
            }

            public void setDistance(double distance) {
                this.distance = distance;
            }
        }
    }
}
